*, *:before, *:after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.property-hack {
  display: none;
  width: 200px;
  height: 500px;
  margin-left: 8000px;
}

.demo-container {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  cursor: -webkit-grab;
  cursor: grab;
  background: #333;
}

.slides {
  width: 500%;
  height: 100%;
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
}

.slide {
  width: 100vw;
  height: 100%;
  float: left;
  overflow: hidden;
  position: relative;
}

.bg {
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
}

.bg-2 {
  -webkit-transform: translate3d(-50vw, 0, 0);
          transform: translate3d(-50vw, 0, 0);
}

.animation {
  -webkit-transition: -webkit-transform 0.5s ease;
  transition: -webkit-transform 0.5s ease;
  transition: transform 0.5s ease;
  transition: transform 0.5s ease, -webkit-transform 0.5s ease;
}

.bg-1 {
  background-image: url("../../assets/img/bgimage.png");
}

.bg-2 {
  background-image: url("../../assets/img/bgimage.png");
}

.bg-3 {
  background-image: url("../../assets/img/bgimage.png");
}

.bg-4 {
  background-image: url("../../assets/img/bgimage.png");
}

.bg-5 {
  background-image: url("../../assets/img/bgimage.png");
}

.grabbing {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

.slide-indicator {
  padding-top: 2px;
  position: fixed;
  left: 50%;
  bottom: 18px;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 70px;
  height: 14px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 2px;
  float: left;
  background: white;
  opacity: 0.3;
  -webkit-transition: opacity 0.5s ease;
  transition: opacity 0.5s ease;
}

.dot-1 {
  opacity: 1;
}

.overlay {
  width: 100vw;
  height: 75px;
  position: fixed;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font-family: "Bad Script", sans-serif;
  font-size: 1.5rem;
  text-align: center;
  -webkit-transform: translate3d(0, 100%, 0);
          transform: translate3d(0, 100%, 0);
  will-change: transform;
  -webkit-transition: opacity 0.5s ease, -webkit-transform 0.5s ease;
  transition: opacity 0.5s ease, -webkit-transform 0.5s ease;
  transition: transform 0.5s ease, opacity 0.5s ease;
  transition: transform 0.5s ease, opacity 0.5s ease, -webkit-transform 0.5s ease;
  -webkit-transition-delay: 0.5s;
          transition-delay: 0.5s;
  opacity: 0;
}

.overlay-active {
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
  opacity: 1;
}

.hint {
  background: transparent;
  position: absolute;
  top: 10%;
  width: 100%;
  text-align: center;
  font-family: "Bad Script", sans-serif;
  color: white;
  font-size: 1.2rem;
  z-index: 1;
}

a {
  color: white;
}

@media only screen and (max-width: 360px) {
  .slide-indicator {
    bottom: 15px;
    height: 15px;
    width: 95px;
  }

  .dot {
    width: 15px;
    height: 15px;
  }

  .overlay {
    padding-top: 8px;
    font-size: 1.2rem;
  }
}
